package com.zy.flow.compment;

import com.yomahub.liteflow.annotation.LiteflowComponent;
import com.yomahub.liteflow.core.NodeIfComponent;
import com.zy.annotation.RuleCmp;
import com.zy.enums.ElNameEnum;

/**
 * 条件组件
 *
 * @author hanhuafeng
 * @version V1.0
 * @description
 * @date 2023/7/18
 */
@LiteflowComponent("ConditionalComponent")
@RuleCmp(flowCmpId = "ConditionalComponent", cmpType = ElNameEnum.IF, defaultText = "条件")
public class ConditionalComponent extends NodeIfComponent {
    @Override
    public boolean processIf() throws Exception {
        //do your biz
        return true;
    }
}
